package com.abe.libcore

import android.os.Environment
import java.io.File

object ConstantCore {
    //文件夹路径
    val SD_PATH = Environment.getExternalStorageDirectory().absolutePath
    val FILE_ROOT_PATH = SD_PATH + File.separator + "abeFrame"
    val CORE_PATH = FILE_ROOT_PATH + File.separator + "core"
    val CRASH_PATH = FILE_ROOT_PATH + File.separator + "crash"
    val VIDEO_PATH = FILE_ROOT_PATH + File.separator + "video"
    val IMAGE_PATH = FILE_ROOT_PATH + File.separator + "image"
    val CACHE_PATH = FILE_ROOT_PATH + File.separator + "cache"
    val LOG_PATH = FILE_ROOT_PATH + File.separator + "log"
    val LOG_PUSH_PATH = FILE_ROOT_PATH + File.separator + "push"
    val LOG_HTTP_PATH = FILE_ROOT_PATH + File.separator + "http"
    val LOG_SERIAL_PATH = FILE_ROOT_PATH + File.separator + "serialPort"
    val LOG_SOCKET_PATH = FILE_ROOT_PATH + File.separator + "socket"

    //广播
    const val NetWorkState: String = "com.abe.network";
}